import Vue from 'vue'
import Router from 'vue-router'
import first from '@/pages/first/first'
import second from '@/pages/first/second'
import App from '../App'
Vue.use(Router)

export default new Router({
    mode: "hash",
    base: '/dist',
    path: '/',
    component: App,
    routes: [
        { path: '', redirect: '/first' },
        {
            path: '/first',
            name: 'first',
            component: first,
        },
        {
            path: '/second',
            name: 'second',
            component: second,
        }
    ],
})